package com.memorywords.service;

import com.memorywords.pojo.PageResult;
import com.memorywords.pojo.Word;

import java.util.List;

public interface WordService {
    //获取若干生词
    List<Word> getNew(int progress);

    //单词标熟
    void mark(int userId, int wordId);

    //获取若干熟词
    List<Word> getOld(int userId);

    //移除单词
    void remove(int userId, int wordId);

    //查看单词列表
    PageResult getAll(int userId, int pageNum, int pageSize);



}
